package com.qzsf.backend.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/*
 * @Author: Dennis Chen
 * @CreateTime: 2024/10/30 16:22 周三
 * @Email 1429278462@qq.com
 * @Remark 活动报名实体类
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Registration implements Serializable{
    private int id;
    private int userId;
    private int eventId;
    private int status;


    public Registration(int userId, int eventId, int status) {
        this.userId = userId;
        this.eventId = eventId;
        this.status = status;
    }
}
